package com.it00zyq.common.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author zyq
 * @Date 2022/5/3 11:03
 * @Description TODO
 * @Version 1.0
 **/
@Component
@Data
public class MailProperties {
    @Value("${spring.mail.host}")
    private String host;

    @Value("${spring.mail.username}")
    private String username;

    @Value("${spring.mail.password}")
    private String password;

    @Value("${spring.mail.properties.from}")
    private String from;
}
